package com.example.a2212a_ivideo_kotlin

import com.alibaba.android.arouter.launcher.ARouter
import com.bawei.lib_base.BaseApp
import com.tencent.mmkv.MMKV
import dagger.hilt.android.HiltAndroidApp

@HiltAndroidApp
class VideoApp :BaseApp() {

    override fun onCreate() {
        super.onCreate()

        //初始化SDK
        //Aroute,getInstance().init(this)

        if(BuildConfig.DEBUG){
            ARouter.openDebug()
            ARouter.openLog()
        }
        ARouter.init( this)

        MMKV.initialize( this)
    }

}